package com.example.demo.entity;

import java.util.Date;
import java.util.List;

/**
 * @program: demo
 * @description: entity
 * @author: Zwill
 * @create: 2019-12-25 14:15
 **/

public class UserMsg {
    private int uid;
    private String uname;
    private String pwd;
    private String mail;
    @org.springframework.format.annotation.DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;
    private List<String> rolename;

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public List<String> getRoles() {
        return rolename;
    }

    public void setRoles(List<String> roles) {
        this.rolename = roles;
    }
}
